/*jslint browser: true,es5: true*/
/*global $, jQuery, window, requirejs, require, define*/
requirejs.config({
    paths: {
        "jquery": "/static/libs/jquery.min",
        "jquery.ui": "/static/libs/jquery-ui.min",
        "jquery.cookie": "/static/libs/jquery.cookie",
        "lhmcv.ui": "/static/apps/ui/ui",
        //lhmcv.global
        "lhmcv": "/static/apps/lhmcv/lhmcv",
        //lhmcv.backend
        "lhmcv.public": "/static/apps/lhmcv/public",
        //"lhmcv.console": "/static/apps/lhmcv/console",
        "lhmcv.Class": "/static/apps/lhmcv/Class",
        "lhmcv.IndexedDB": "/static/apps/lhmcv/IndexedDB",
        "lhmcv.AjaxDB": "/static/apps/lhmcv/AjaxDB",
        //lhmcv.mvc
        "lhmcv.config": "/static/apps/lhmcv/config",
        "lhmcv.model": "/static/apps/lhmcv/model",
        "lhmcv.template": "/static/apps/lhmcv/template",
        "lhmcv.view": "/static/apps/lhmcv/view",
    },
    shim: {
        "jquery.ui": ["jquery"],
        "jquery.cookie": ["jquery"],
        "lhmcv.ui": ["jquery", "jquery.ui"],
        //lhmcv
        "lhmcv.console": ["lhmcv"],
        "lhmcv.class": ["lhmcv"],
        "lhmcv.indexedDB": ["lhmcv"],
        "lhmcv.ajaxDB": ["lhmcv"],
        "lhmcv.config": ["lhmcv"],
        "lhmcv.model": ["lhmcv.indexedDB", "lhmcv.ajaxDB"],
        "lhmcv.template": ["lhmcv", "lhmcv.class"],
        "lhmcv.view": ["lhmcv", "lhmcv.template", "lhmcv.model"]
    }
});

requirejs(["lhmcv"], function (global) {
    "use strict";
});